# -*- coding: utf-8 -*-

import requests

if __name__ == "__main__":
    requests.packages.urllib3.disable_warnings()

    url = 'http://127.0.0.1:5000/api/v1.0/user/create'
    data = {"name": '测试用户1',
            'login': 'test_user1',
            'email': '13988776622@qq.com',
            'mobile': '13988776622'}
    req = requests.post(url=url, data=data,
                        verify=False)
    result = req.text
    print(result)
